package cn.iocoder.yudao.module.javainfo.controller.admin.userpet.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户宠物关联新增/修改 Request VO")
@Data
public class UserPetSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29552")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4559")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "宠物ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18766")
    @NotNull(message = "宠物ID不能为空")
    private Long petId;

}